package cn.zly.spring.beans.factory.test.bean;

/**
 * @author zhanglianyong
 * @date 2024/12/30
 */

public class UserService {


	private String uId;


	private UserDao userDao;

	public String queryUserInfo() {
		String user = userDao.queryUserName(uId);
		System.out.println(user);
		return user;
	}

	@Override
	public String toString() {
		return "UserService{" +
				"uId='" + uId + '\'' +
				'}';
	}
}
